package com.baomidou.springboot.result;

/**
 * Author: D.Yang Email: koyangslash@gmail.com Date: 16/8/31 Time: 下午5:50
 * Describe: 封装Json返回信息
 */
public class JsonResult {
	/**
	 * @ApiModelProperty(value = "是否成功:true false")
	 */
	private boolean success;
	/**
	 * @ApiModelProperty(value = "状态500:失败,400:成功,501:未注册")
	 */
	private String status;
	/**
	 * @ApiModelProperty(value = "描述")
	 */
	private String msg;
	/**
	 * @ApiModelProperty(value = "返回对象")
	 */
	private Object obj;

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}
}
